Add `admin set-default`
authorColin Walters <walters@verbum.org>
Wed, 2 Aug 2023 15:25:58 +0000 (11:25 -0400)
committerColin Walters <walters@verbum.org>
Thu, 3 Aug 2023 19:09:57 +0000 (15:09 -0400)
commit3cd3251aa1bd8986b1a46ddaaf98563d149bf4d3
treebea957c3395e38b69dec11acf06c67cda2c3a1e6
parent113e575e8ed189d3fd5bfa793026f61992294343
Add `admin set-default`

A core underlying primitive in the C library is the ability
to arbitrarily reorder bootloader entries.

Let's expose the basic functionality here with the ability to pick
an arbitrarily deployment for the next boot.

Closes: https://github.com/ostreedev/ostree/issues/2965
Makefile-man.am
Makefile-ostree.am
man/ostree-admin-set-default.xml [new file with mode: 0644]
src/ostree/ot-admin-builtin-set-default.c [new file with mode: 0644]
src/ostree/ot-admin-builtins.h
src/ostree/ot-builtin-admin.c
tests/admin-test.sh